package com.rico.deploy.service;


import com.rico.deploy.entity.Subject;
import com.rico.deploy.vo.DtreeVo;

import java.util.List;

/**
 * @author 夏智力
 * @FileName SubjectService
 * @date 2021/5/2 17:32
 * @Software: IntelliJ IDEA
 */
public interface SubjectService {

    List<DtreeVo> LeftTreeView();

    List<Subject> selectAll();

    List<Subject> selectAll(Integer page,Integer limit);

    List<Subject> selectAll(Integer page,Integer limit,String keyword);

    Subject selectById(Integer id);

    int insertSubject(Subject subject);

    int deleteSubjectById(Integer id);

    int updateSubject(Subject subject);
}
